package com.yanqu.road.entity.activity.zhenhuan.secondProcess;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_zhenhuan_party_join", desc = "甄嬛传第二阶段跨服茶话会加入数据")
public class CrossZhenHuanPartyJoinData extends DataObject {
    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true, update = true, desc = "茶话会id")
    private long partyId;
    @FieldTypeAnnotation(update = true, desc = "位置")
    private int pos;
    @FieldTypeAnnotation(desc = "加入的玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "加入的玩家等级")
    private int userLevel;
    @FieldTypeAnnotation(desc = "加入的玩家威望")
    private long userPrestige;
    @FieldTypeAnnotation(desc = "加入时间")
    private long joinTime;
    @FieldTypeAnnotation(desc = "结算时的总获得威望")
    private long matchPrestige;
    @FieldTypeAnnotation(desc = "是否npc")
    private int isNpc;

    public CrossZhenHuanPartyJoinData() {
    }

    public CrossZhenHuanPartyJoinData(int activityId, long partyId, int pos, long userId) {
        this.activityId = activityId;
        this.partyId = partyId;
        this.userId = userId;
        this.pos = pos;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getPartyId() {
        return partyId;
    }

    public void setPartyId(long partyId) {
        this.partyId = partyId;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        this.joinTime = joinTime;
        setUpdateOption();
    }

    public long getMatchPrestige() {
        return matchPrestige;
    }

    public void setMatchPrestige(long matchPrestige) {
        this.matchPrestige = matchPrestige;
        setUpdateOption();
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
        setUpdateOption();
    }

    public long getUserPrestige() {
        return userPrestige;
    }

    public void setUserPrestige(long userPrestige) {
        this.userPrestige = userPrestige;
        setUpdateOption();
    }

    public int getIsNpc() {
        return isNpc;
    }

    public void setIsNpc(int isNpc) {
        this.isNpc = isNpc;
        setUpdateOption();
    }
}
